/*
 * @Description: 
 * @FilePath: /STM32F103/USER/bsp/nvic.h
 * @Author: Wei Zhou
 * @Github: https://github.com/zromyk
 * @Date: 2021-04-28 15:25:19
 * @LastEditors: Wei Zhou
 * @LastEditTime: 2021-05-12 21:47:19
 * @Copyright: Copyright ? 2017 muyiro. All rights reserved.
 */

#ifndef NVIC_INIT_H
#define NVIC_INIT_H

#include "my_include.h"

/**
 * @brief  配置中断向量的优先级
 * @param  NVIC_IRQChannel: 中断向量
 * @param  priority:        主优先级
 * @param  subPriority:     子优先级
 * @retval None
 */
void nvic_configuration(IRQn_Type NVIC_IRQChannel, uint8_t priority, uint8_t subPriority);

#endif /* NVIC_INIT_H */
